home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 24
/
AACD 24.iso
/
AACD
/
Information
/
WebSites
/
Eyetech
/
DOWNLOAD
/
PARNE030.LHA
/
parnet
/
test
/
parmon.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-08
|
464b
|
36 lines
/*
* PARMON.C
*
* Monitor parnet debug junk
*/
#include "defs.h"
void
main(ac, av)
int ac;
char *av[];
{
PubPort *port = (PubPort *)FindPort(PORTNAME);
char buf[32];
buf[0] = 0;
if (port == NULL) {
puts("couldn't find port");
exit(1);
}
for (;;) {
/*
if (strcmp(port->DebugBuf, buf) != 0) {
strcpy(buf, port->DebugBuf);
printf("%s\n", buf);
}
Delay(5L);
*/
printf("%s\n",port->DebugBuf);
Chk_Abort();
}
}